/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.gov.fasepa.sgpf.factoryDAO;

import java.util.List;

/**
 *
 * @author marcosdj
 * @param <R>
 */
public interface InterfaceRN<R> {

    public boolean save(R o);

    public boolean edit(R o);

    public boolean delete(R o);

    public R obtain(Class<R> classe, Object id);

    public List<R> obtainAll(Class<R> classe);

}
